
testOptimizations([
	// integrate expressions inside the <for>
	['a = 1; for (i = 0; i < 100; i++) c();',
		'for (a = 1, i = 0; i < 100; c(), i++) {}'],
	
	['i = 0; for (; i < 100;) { c(); i++; }',
		'for (i = 0; i < 100; c(), i++) {}'],
	
	['b = 1; a = b; for (i = a; i < 100; i++) c();',
		'for (b = 1, a = b, i = a; i < 100; c(), i++) {}'],
	
	['for (a = 0; a; a--) b();',
		'a = 0;']
]);
